import { request } from "./request";

export function trafficRanking(pageNum) {
  return request({
    url: "/gametype/trafficRanking",
    method: "get",
    params: {
      pageNum,
    },
  });
}

export function scoreRanking(pageNum) {
  return request({
    url: "/gametype/scoreRanking",
    method: "get",
    params: {
      pageNum,
    },
  });
}

export function newHotRanking(pageNum) {
  return request({
    url: "/gametype/newHotRanking",
    method: "get",
    params: {
      pageNum,
    },
  });
}

export function abroadHotRanking(pageNum) {
  return request({
    url: "/gametype/abroadHotRanking",
    method: "get",
    params: {
      pageNum,
    },
  });
}

export function domesticHotRanking(pageNum) {
  return request({
    url: "/gametype/domesticHotRanking",
    method: "get",
    params: {
      pageNum,
    },
  });
}
